﻿@theme: "../refs/";

@import "@{theme}variables.less";
@import "@{theme}mixins.less";

#notificationBar {
    display: none;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100000;

    &.success {
        background:  @brand-info;
        border-bottom: 3px solid #fff !important;
        color: #fff;
        margin: 0 0 10px;
    }

    &.error {
        background: none repeat scroll 0 0 @brand-danger;
        border-bottom: 3px solid #fff !important;
        color: #fff;
        margin: 0 0 10px;
    }

    .close {
        background: url('') /*../../images/ico-close-notification-bar.png*/ no-repeat;
        width: 20px;
        height: 20px;
        cursor: pointer;
        position: absolute;
        right: 10px;
        top: 5px;
    }

    .content {
        padding: 0 10px;
        margin: 10px 0;
        text-align: center;

        a {
            text-decoration: underline;
            color: #fff;
            font-weight: bold;
        }
    }
}

#ajax-loading-block-window {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 128px;
    height: 128px;
    overflow: hidden;
    border: 1px solid #ccc;
    z-index: 1104;
    background: #f0f0f0;
    border-radius: 5px;

    .loading-image {
        width: 128px;
        height: 128px;
        background: url(../images/ajax-loader-large.gif) no-repeat center center;
        background-size: 50%;
    }
}
/*fb alert widget*/
#fbalert {
    min-width: 250px;
    color: #FFF;
    text-align: left;
    font-family: "lucida grande", tahoma, verdana, arial, sans-serif;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    line-height: 1;
    text-decoration: none;
    text-indent: 0;
    text-shadow: none;
    text-transform: none;
    letter-spacing: normal;
    background: #9d9d9d;
    background: rgba(157, 157, 157, 0.8);
    border: 0;
    border-spacing: 0;
    opacity: 1;
    margin: 0;
    padding: 6px;
    position: absolute;
    top: 0;
    left: 0;
    direction: ltr;
    overflow: visible;
    visibility: visible;
    white-space: normal;
    word-spacing: normal;
    cursor: auto;
    display: none;
    z-index: 99999;

    .fbalert-header {
        color: #000;
        font-size: 14px;
        font-weight: bold;
        line-height: 1.28;
        background: #fff;
        border: 1px solid #555;
        border-bottom: 0;
        margin: 0;
        padding: 5px 10px 5px 10px;

        .c-header {
            position: relative;
            height: 30px;
            padding: 11px 30px 0 55px;
            font-size: 18px;
            font-weight: bold;

            i {
                position: absolute;
                display: block;
                overflow: hidden;
                background: url(../images/button-sprite.png) no-repeat;

                &.error-icon {
                    width: 40px;
                    height: 40px;
                    left: 10px;
                    top: 4px;
                    background-position: 0 -52px;
                }

                &.success-icon {
                    width: 39px;
                    height: 39px;
                    left: 10px;
                    top: 4px;
                    background-position: 0 0;
                }

                &.close {
                    right: 0;
                    top: 0;
                    width: 24px;
                    height: 24px;
                    cursor: pointer;
                    background-position: -5px -105px;
                }
            }
        }
    }

    .fbalert-content {
        background: #FFF;
        border: 1px solid #555;
        border-top: 0;
        margin: 0;
        padding: 0;

        .fbalert-body {
            min-height: 20px;
            color: #333;
            font-size: 13px;
            text-align: left;
            line-height: 1.3;
            background: #FFF;
            margin: 0;
            padding: 10px;
            /*for add to cart alert dialog*/
            .addtocart-msg-body {
                margin-top: -10px;
                padding: 2px 0 5px 57px;
                color: #939393;
                font-weight: 400;
                font-size: 13px;

                p {
                    line-height: 2em;
                }

                .itemcount {
                    color: #272727;

                    span {
                        color: #f44e02;
                    }
                }

                .sub-total {
                    font-size: 13px;
                    color: #626262;

                    span {
                        font-weight: bold;
                        font-size: 22px;
                        color: #900;
                        font-family: Arial;
                    }
                }
            }
        }

        .fbalert-footer {
            min-height: 24px;
            background: #F5F5F5;
            border-top: 1px solid #CCC;
            margin: 0;
            overflow:hidden;
            padding: 10px 6px 10px 10px;
        }

        .fbalert-button {
            color: #333;
            font-size: 13px;
            font-weight: bold;
            line-height: 16px;
            background: #D8D8D8 url() 0 0 repeat-x;
            border: 1px solid #999;
            margin: 0 4px 0 0;
            padding: 3px 8px;
            float: right;
            cursor: pointer;

            &.fbalert-button-primary {
                color: #FFF;
                background: #e8262e;
                border-color: #681405 #B42424 #7A0303;
            }
        }
    }
}
